package com.jt.travel.auth.service;

import com.jt.travel.auth.dao.UserMapper;
import com.jt.travel.common.pojo.TUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService{
    @Autowired
    UserMapper userMapper;
    @Override
    public TUser selectUser(String username, String password) {
        TUser tUser=userMapper.selectUser(username,password);
        return tUser;
    }
}
